home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / asm_n_z.zip / NUXDIR.TXT < prev    next >
Text File  |  1987-04-05  |  2KB  |  43 lines

  1.  
  2. XDIR's interrupt 13h handling routine as originally published
  3. inadvertently altered the flags register passed back from the BIOS,
  4. causing certain diskette operations (such as the DOS FORMAT command)
  5. to mysteriously fail.  Many thanks to Charles Copeland and John Mullis,
  6. who first notified me of the problem and suggested a cure.
  7.  
  8. The second problem was recognized and reported by several readers.
  9. XDIR employed the auxiliary timer interrupt (interrupt 1Ch) when it
  10. should have attached itself to the primary one (interrupt 8).
  11. Although the effects of this probably never showed up on your system,
  12. the potential for a crash was there since XDIR sent its own EOI
  13. signal to the 8259.  The BIOS interrupt 8 handler sends an EOI
  14. immediately after regaining control from interrupt 1Ch, so any
  15. interrupt being serviced when XDIR's timer routine stepped in was
  16. in danger of being ended prematurely.  In retrospect, the best
  17. solution is to avoid the timer interrupt altogether.  The revised XDIR
  18. relocates the code responsible for checking the internal DOS flag
  19. and popping up the window inside the keyboard interrupt routine.
  20.  
  21. As we often point out when we publish a TSR utility, there are some
  22. applications which will be inherently incompatible with it.
  23. Some readers have reported trouble using XDIR with QuickBASIC 2.0.
  24. QuickBASIC takes over interrupt 9 to detect the press of certain
  25. key combinations not recognized by the BIOS.  In such situations,
  26. the only answer is to take the Sidekick approach of monitoring
  27. the interrupt 9 vector and grabbing it back if another program
  28. steals it.  That violates the ground rules for well-behaved TSR's,
  29. though, and renders the utility incompatible with Sidekick.
  30.  
  31. My apologies to anyone inconvenienced by XDIR as it was originally
  32. published.  These utilities are tested thoroughly by their respective
  33. authors, then examined further by the staff of PC Magazine prior to
  34. publication.  The charter of Programming/Utilities is to provide
  35. useful programs that illustrate in their own way programming tactics
  36. and principles.  Watch for a slate of good ones appearing in coming
  37. months, including one that removes TSR's from memory.  And sincerest
  38. thanks to the many readers who follow the magazine closely, with
  39. pen in hand ready to offer opinions, comments, and suggestions.
  40.  
  41. Jeff Prosise
  42.  
  43.